package cn.neo.hhrpc.consumer;

import cn.neo.hhrpc.core.annotation.HHConsumer;
import cn.neo.hhrpc.api.User;
import cn.neo.hhrpc.api.UserService;
import org.springframework.stereotype.Component;

@Component
public class Demo2 {

    @HHConsumer
    UserService userService2;

    public void test(){
        User user = userService2.findById(100);
        System.out.println(" ===> user="+user);
    }
}
